<template>
  <div>
    <ul>
      <li><router-link to="/0">All contacts</router-link></li>
      <li><router-link to="/1">Alice</router-link></li>
      <li><router-link to="/2">Bob</router-link></li>
    </ul>
    <button @click="$router.push(`/${Math.floor(Math.random() * 3)}`)">
      随机显示
    </button>
    <router-view></router-view>
  </div>
</template>

<script>
export default {};
</script>

<style>
</style>